////////////////////////////////////////////////////////////////////////////// 
//
//  up16_jtag_macros.v
//
//  UP16-specific macros relevant to JTAG 1149.1 and 1149.6
//
//  Original Author: Chris Jones
//  Current Owner:   Chris Jones
//
////////////////////////////////////////////////////////////////////////////// 
//
// Copyright (C) 2009 Synopsys, Inc.  All rights reserved.
//
// SYNOPSYS CONFIDENTIAL - This is an unpublished, proprietary work of
// Synopsys, Inc., and is fully protected under copyright and trade secret
// laws.  You may not view, use, disclose, copy, or distribute this file or
// any information contained herein except pursuant to a valid written
// license agreement. It may not be used, reproduced, or disclosed to others
// except in accordance with the terms and conditions of that agreement.
//
////////////////////////////////////////////////////////////////////////////// 
//
//    Perforce Information
//    $Author: ameer $
//    $File: //dwh/up16/main/dev/pcs_raw/include/up16_jtag_macros.v $
//    $DateTime: 2013/11/12 06:16:54 $
//    $Revision: #3 $
//
////////////////////////////////////////////////////////////////////////////// 

`ifdef DWC_E12MP_X4NS_JTAG_MACROS_V
`else
 `define DWC_E12MP_X4NS_JTAG_MACROS_V

 `define DWC_E12MP_X4NS_JTAG_IR_WIDTH 8
 `define DWC_E12MP_X4NS_JTAG_IR_IDCODE  8'h01
 `define DWC_E12MP_X4NS_JTAG_IR_CRSEL   8'h31
 `define DWC_E12MP_X4NS_JTAG_IR_CRALU   8'h35
 `define DWC_E12MP_X4NS_JTAG_IR_DSCAN   8'h51
 `define DWC_E12MP_X4NS_JTAG_IR_ATEOVRD 8'h5D
 `define DWC_E12MP_X4NS_JTAG_IR_BYPASS  8'hFF   // Required by 1149.1 specification

 `define DWC_E12MP_X4NS_JTAG_DR_IDCODE_LEN  32
 `define DWC_E12MP_X4NS_JTAG_DR_CRSEL_LEN   18
 `define DWC_E12MP_X4NS_JTAG_DR_CRALU_LEN   4
 `define DWC_E12MP_X4NS_JTAG_DR_ATEOVRD_LEN 5
 `define DWC_E12MP_X4NS_JTAG_DR_BYPASS_LEN  1    // Required by 1149.1 specification


 `define DWC_E12MP_X4NS_CRSEL_CMD_ADDR  2'b00
 `define DWC_E12MP_X4NS_CRSEL_CMD_READ  2'b11
 `define DWC_E12MP_X4NS_CRSEL_CMD_WRITE 2'b01
 `define DWC_E12MP_X4NS_CRSEL_CMD_DATA  2'b10

`endif

////////////////////////////////////////////////////////////////////////////// 
//
